//
//  NSBundle_NetworkApi.m
//  RPay
//
//  Created by CharlieLiao on 2017/7/22.
//  Copyright © 2017年 Charlie. All rights reserved.
//

#import "NSBundle_NetworkApi.h"

@implementation NSBundle (RPNetworkApi)

+ (NSBundle*)RpayNetworkApiBundle
{
    NSString *path = [NSBundle.mainBundle pathForResource:@"RpayNetworkAPI" ofType:@"bundle"];
    return [NSBundle bundleWithPath:path];
}

@end

NSString* ApiLocalStr(NSString *key) {
    return NSLocalizedStringFromTableInBundle(key, @"ApiLocalizable", [NSBundle RpayNetworkApiBundle], nil);
}
